<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"
	isErrorPage="true"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'error.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

</head>

<body bgcolor="#FFFFFF">
<%if (exception != null && !exception.toString().equals("")){ %>
	<div align="center">
		<br> <br>
		<h1>错误信息</h1>
		<hr>
		<p>
		<h3><%=exception.toString()%></h3>
	</div>
	<%} else{%>
	<div align="center">
	<h1>没错你看什么看...</h1>
	</div>
	<%} %>
		<br> <br> <br> 
		<a href="javascript: history.back();">返回</a>
</body>
</html>
